/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package projetlif13.tools;

import projetlif13.model.puissance4.HPlayerP4;
import projetlif13.model.puissance4.IAPlayerP4;
import projetlif13.model.puissance4.P4Game;
import projetlif13.model.tictactoe.HPlayerTic;
import projetlif13.model.tictactoe.IAPlayerTic;
import projetlif13.model.tictactoe.TicGame;

/**
 *
 * @author theo
 */
public class Test {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        testPuissance4();
    }

    public static void testPuissance4() {
        HPlayerP4 p1 = new HPlayerP4("j1");
        IAPlayerP4 p2 = new IAPlayerP4();

        P4Game pg = new P4Game(p1, p2);
        //tg.playGame();
        System.out.println("Id du gagnant : " + pg.playGame().getId());
    }

    public static void testMorpion() {
        HPlayerTic p1 = new HPlayerTic("j1");
        IAPlayerTic p2 = new IAPlayerTic();

        TicGame tg = new TicGame(p1, p2);
        //tg.playGame();
        System.out.println("Id du gagnant : " + tg.playGame().getId());
    }
}
